package gatoropoly.game.action;

import gatoropoly.game.Gatoropoly;

public class ConnectAction extends GatoropolyClientAction {

	public ConnectAction(Gatoropoly client) {
		super(client, "Connect");
	}

	public void perform() {
		client.connect();
	}

	public boolean canPerform() {
		return !client.isConnected();
	}

}
